Part Number Hot Search : 
P6KE1 RT9261B KT842L55 MUR12 ALFY455F AP2003S 50A02MH HER1001G
Product Description
Full Text Search
 

To Download MC33972 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  motorola semiconductor technical data 33972 simplified application diagram this document contains information on a new product. specifications and information herein are subject to change without notice. ? motorola, inc. 2003 document order number: MC33972/d rev 2.0, 08/2003 33972 advance information multiple switch detection interface with suppressed wake-up the 33972 multiple switch detection interface with suppressed wake-up is designed to detect the closing and opening of up to 22 switch contacts. the switch status, either open or closed, is transferred to the microprocessor unit (mcu) through a serial peripheral interf ace (spi). the device also features a 22-to-1 analog multiplexer for reading inputs as analog. the analog input signal is buffered and provided on the amux output pin for the mcu to read. the 33972 device has two modes of operation, normal and sleep. normal mode allows programming of the device and supplies switch contacts with pull- up or pull-down current as it monitors switch change of state. the sleep mode provides low quiescent current, which makes the 33972 ideal for automotive and industrial products requir ing low sleep state currents. note the 33972 is similar to the 33993 de vice, with the exception that the programmable interrupt timer for the 33972?s sleep mode can be disabled (refer to the section entitled sleep mode on page 18 ). features ? designed to operate 5.5 v v pwr 26 v ? switch input voltage range -14 v to v pwr , 40 v max ? interfaces directly to microprocessor using 3.3 v/5.0 v spi protocol ? selectable wake-up on change of state ? selectable wetting current (16 ma or 2.0 ma) ? 8 programmable inputs (switches to battery or ground) ? 14 switch-to-ground inputs ?v pwr standby current 100 a typical, v dd standby current 20 a typical ? active interrupt ( int ) on change-of-switch state v dd v dd v pwr power supply lvi enable watchdog reset v dd si so sclk int cs amux mosi miso an0 vbat sp0 sp1 sp7 sg1 sg0 sg12 sg13 wake 33972 sclk cs int mcu gnd vbat vbat multiple switch detection interface with suppressed wake-up dwb suffix case 1324 32-lead soicw ordering information device temperature range (t a ) package MC33972dwb/r2 -40 c to 125 c 32 soicw f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 2 figure 1. 33972 simplifi ed internal block diagram + ? 5.0 v 125 k ? v dd analog mux output v pwr , v dd , 5.0 v por oscillator clock control bandgap sleep pwr 40 a spi interface and control wake control int control temperature monitor and control mux interface sp0 sp1 sg0 sp2 sp3 sp4 sp5 sp6 sp7 sg2 sg1 sg3 sg4 sg5 sg6 sg7 sg8 sg9 sg10 sg11 sg12 sg13 wake int sclk cs so amux si v dd v pwr gnd v pwr 5.0 v v pwr 5.0 v 5.0 v v pwr v dd v dd and 5.0 v + ? 4.0 v comparator to v pwr sg0 spi ref 2.0 ma 16.0 ma v pwr 5.0 v 125 k ? v dd 2.0 + ? 4.0 v comparator to v pwr sp7 spi ref ma 2.0 ma 16.0 ma 16.0 ma v pwr 2.0 + ? 4.0 v comparator to v pwr sp0 spi ref ma 2.0 ma 16.0 ma 16.0 ma v pwr + ? 4.0 v comparator to v pwr sg13 spi ref 2.0 ma 16.0 ma v pwr f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 3 pin functional description pin pin name formal name description 1 gnd ground ground for logic, analog, and switch to battery inputs. 2 si spi slave in spi control data input pin from mcu to 33972. 3 sclk serial clock spi control clock input pin. 4 cs chip select spi control chip select input pin from mcu to 33972. logic 0 allows data to be transferred in. 5?8 25?28 sp0?3 sp4?7 programmable switches 0?7 programmable switch-to-battery or switch-to-ground input pins. 9?15, 18?24 sg0?6, sg13?7 switch-to-ground inputs 0?13 switch-to-ground input pins. 16 v pwr battery input battery supply input pin. pin requires external reve rse battery protection. 17 wake wake-up open drain wake-up output. designed to control a power supply enable pin. 29 int interrupt open-drain output to mcu. used to indicate input switch change of state. 30 amux analog multiplex output analog multiplex output. 31 v dd voltage drain supply 3.3/5.0 v supply. sets spi communication level for so driver. 32 so spi slave out provides digital data from 33972 to mcu. so 1 sp7 sp6 sp5 sp4 sg7 sg8 sg9 sg10 sg11 sg13 wake sg12 int v dd amux gnd sp0 sp1 sp2 sp3 sg0 sg1 sg2 sg3 sg4 sg6 v pwr sg5 cs si sclk 8 9 10 11 12 13 14 15 16 3 4 5 6 7 2 32 25 24 23 22 21 20 19 18 17 30 29 28 27 26 31 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 4 maximum ratings all voltages are with respect to ground unless otherwise noted. rating symbol value unit v dd supply voltage ? -0.3 to 7.0 v dc cs , si, so, sclk, int , amux (note 1) ? -0.3 to 7.0 v dc wake (note 1) ? -0.3 to 40 v dc v pwr supply voltage (note 1) ? -0.3 to 50 v dc switch input voltage range ? -14 to 40 v dc frequency of spi operation (v dd = 5.0 v) ? 6.0 mhz esd voltage (note 2) human body model (note 3), (note 4) machine model (note 5) v esd1 v esd2 4000 200 v storage temperature t stg -55 to 150 c operating case temperature t c -40 to 125 c operating junction temperature t j -40 to 150 c power dissipation (t a = 25 c) (note 6) p d 1.7 w thermal resistance junction to ambient junction to lead r ja r jl 74 25 c/w notes 1. exceeding these limits may cause malfun ction or permanent damage to the device. 2. esd data available upon request. 3. esd1 testing is performed in accordance with the human body model (c zap = 100 pf, r zap = 1500 ? ). 4. all pins when tested individually. 5. esd2 testing is performed in ac cordance with the machine model (c zap = 200 pf, r zap = 0 ? ). 6. maximum power dissipation at t j =150 c junction temperature with no heat sink used. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 5 static electrical characteristics characteristics noted under conditions of 3.1 v v dd 5.25 v, 8.0 v v pwr 16 v, -40 c t c 125 c, unless otherwise noted. where applicable, typical values reflect the parameter?s approximate average value with v pwr = 13 v, t a = 25 c. characteristic symbol min typ max unit power input supply voltage supply voltage range quasi-functional (note 7) fully operational supply voltage range quasi-functional (note 7) v pwr ( qf ) v pwr ( fo ) v pwr ( qf ) 5.5 8.0 26 ? ? ? 8.0 26 40 v supply current all switches open, normal mode, tri-state disabled i pwr ( on ) ? 2.0 4.0 ma sleep state supply current scan timer = 64 ms, switches open i pwr ( ss ) 40 70 100 a logic supply voltage v dd 3.1 ? 5.25 v logic supply current all switches open, normal mode i dd ? 0.25 0.5 ma sleep state logic supply current scan timer = 64 ms, switches open i dd ( ss ) ? 10 20 a switch input pulse wetting current switch-to-battery (current sink) i pulse 12 15 18 ma pulse wetting current switch-to-ground (current source) i pulse 12 16 18 ma sustain current switch-to-battery input (current sink) i sustain 1.8 2.0 2.2 ma sustain current switch-to-ground input (current source) i sustain 1.8 2.0 2.2 ma sustain current matching between channels on switch-to-ground inputs i match ? 2.0 4.0 % input offset current when selected as analog i offset -2.0 1.4 2.0 a input offset voltage when selected as analog v (sp&sginputs) to amux output v offset -10 2.5 10 mv analog operational amplifier output voltage sink 250 a v ol ? 10 30 mv analog operational amplifier output voltage source 250 a v oh v dd - 0.1 ? ? v switch detection threshold v th 3.70 4.0 4.3 v switch input voltage range v in -14 ? 40 v temperature monitor (note 8), (note 9) t lim 155 ? 185 c temperature monitor hysteresis (note 9) t lim( hys ) 5.0 10 15 c notes 7. device operational. table paramet ers may be out of specification. 8. thermal shutdown of 16 ma pull-up and pull-down current sources only. 2.0 ma current source/sink and all other functions remain active. 9. this parameter is guaranteed by design but is not production tested. i sus(max) - i sus(min) i sus(min) x 100 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 6 digital interface input logic voltage thresholds (note 10) v inlogic 0.8 ? 2.2 v sclk, si, tri-state so input current 0 v to v dd i sclk, i si, i so(tri) -10 ? 10 a cs input current cs = v dd i cs -10 ? 10 a cs pull-up current cs = 0 v i cs 30 ? 100 a so high-state output voltage i so( high) = -200 a v so( high) v dd - 0.8 ? v dd v so low-state output voltage i so( high) = 1.6 ma v so( low) ? ? 0.4 v input capacitance on sclk, si, tri-state so (note 11) c in ? ? 20 pf int internal pull-up current ? 15 40 100 a int voltage int = open circuit v int ( high ) v dd - 0.5 ? v dd v int voltage i int = 1.0 ma v int (low) ? 0.2 0.4 v wake internal pull-up current i wake ( pu ) 20 40 100 a wake voltage wake = open circuit v wake ( high ) 4.0 4.3 5.3 v wake voltage i wake = 1.0 ma v wake ( low ) ? 0.2 0.4 v wake voltage maximum voltage applied to wake through external pull-up v wake ( max ) ? ? 40 v notes 10. upper and lower logic threshol d voltage levels apply to si, cs , and sclk. 11. this parameter is guaranteed by design but is not production tested. static electrical charac teristics (continued) characteristics noted under conditions of 3.1 v v dd 5.25 v, 8.0 v v pwr 16 v, -40 c t c 125 c, unless otherwise noted. where applicable, typical values reflect the parameter?s approximate average value with v pwr = 13 v, t a = 25 c. characteristic symbol min typ max unit f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 7 dynamic electrical characteristics characteristics noted under conditions of 3.1 v v dd 5.25 v, 8.0 v v pwr 16 v, -40 c t c 125 c, unless othe rwise noted. where applicable, typical values reflect the parameter?s approximate average value with v pwr = 13 v, t a = 25 c. characteristic symbol min typ max unit switch input pulse wetting current time t pulse ( on ) 15 16 20 ms interrupt delay time normal mode t int-dly ? 5.0 16 s sleep mode switch scan time t scan 100 200 300 s calibrated scan timer accuracy sleep mode t scan timer ? ? 10 % calibrated interrupt timer accuracy sleep mode t int timer ? ? 10 % digital interface timing (note 12) required low state duration on v pwr for reset (note 13) v pwr 0.2 v t reset ? ? 10 s falling edge of cs to rising edge of sclk required setup time t lead 100 ? ? ns falling edge of sclk to rising edge of cs required setup time t lag 50 ? ? ns si to falling edge of sclk required setup time t si( su ) 16 ? ? ns falling edge of sclk to si required hold time t si(hold) 20 ? ? ns si, cs , sclk signal rise time (note 14) t r (si) ? 5.0 ? ns si, cs , sclk signal fall time (note 14) t f (si) ? 5.0 ? ns time from falling edge of cs to so low impedance (note 15) t so( en ) ? ? 55 ns time from rising edge of cs to so high impedance (note 16) t so( dis ) ? ? 55 ns time from rising edge of sclk to so data valid (note 17) t valid ? 25 55 ns notes 12. these parameters are guaranteed by design. production te st equipment uses 4.16 mhz, 5.0 v spi interface. 13. this parameter is guaranteed by design but not production tested. 14. rise and fall time of incoming si, cs , and sclk signals suggested for design considerat ion to prevent the occurrence of double pulsing. 15. time required for valid output stat us data to be available on so pin. 16. time required for output states data to be terminated at so pin. 17. time required to obtain valid data out from so following the rise of sclk with 200 pf load. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 8 timing diagrams figure 2. spi timing characteristics figure 3. sleep mode to normal mode operation figure 4. normal mode interrupt operation t so(dis) 0.7 v dd 0.2 v dd 0.2 v dd 0.7 v dd 0.2 v dd t lead t so(en) t si(su) t si(hold) t valid t lag cs sclk si so msb in msb out lsb out 0.7 v dd 0.2 v dd v pwr v dd wake int cs sgn power-up sleep sleep mode normal mode sleep command sleep mode normal mode sleep command wake-up from interrupt timer expire wake-up from closed switch command normal mode tri-state command (disable tri-state) int cs sgn switch open ?0? 1 sgn bit in spi word switch closed ?1? 1 0 0 1 switch command 0 on falling edge of cs latch switch status switch state change with cs low generates int switch state change with cs low generates int rising edge of cs does not clear int because state change occurred while cs was low status switch command status switch command status switch command status switch command status switch command status f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 9 system/application information introduction the 33972 device is an integrated circuit designed to provide systems with ultra-low quiescent sleep/wake-up modes and a robust interface between switch contacts and a microprocessor. the 33972 replaces many of the discrete components required when interfacing to microprocessor- based systems while providing swit ch ground offset protection, contact wetting current , and system wake-up. the 33972 features 8-program mable switch-to-ground or switch-to-battery inputs and 14 switch-to-ground inputs. all switch inputs may be read as anal og inputs through the analog multiplexer (amux). other feat ures include a programmable wake-up timer, programmable interrupt timer, programmable wake-up/interrupt bits, and programmable wetting current settings. this device is designed primaril y for automotive applications but may be used in a variety of other applications such as computer, telecommunications, and industrial controls. functional pin description cs the system mcu selects the 33972 to receive communication using the chip select ( cs ) pin. with the cs in a logic low state, command words may be sent to the 33972 via the serial input (si) pin, and switch status information can be received by the mcu via the seri al output (so) pin. the falling edge of cs enables the so output, latches the state of the int pin, and the state of t he external switch inputs. rising edge of the cs initiates the following operation: 1. disables the so driver (high impedance) 2. int pin is reset to logic [1], except when additional switch changes occur during cs low. (see figure 4 on page 8.) 3. activates the received command word, allowing the 33972 to act upon new data from switch inputs. to avoid any spurious data, it is essential the high-to-low and low-to-high transitions of the cs signal occur only when sclk is in a logic low state. internal to the 33972 device is an active pull-up to v dd on cs . in sleep mode the negative edge of cs (v dd applied) will wake up the 33972 device. data received from the device during cs wake-up may not be accurate. sclk the system clock (sclk) pin clocks the internal shift register of the 33972. the si data is latc hed into the input shift register on the falling edge of sclk signal. the so pin shifts the switch status bits out on the rising edge of sclk. the so data is available for the mcu to read on the falling edge of sclk. false clocking of the shift register must be avoided to ensure validity of data. it is essential the sclk pin be in a logic low state whenever cs makes any transition. for this reason, it is recommended, though not necessary, that the sclk pin is commanded to a low logic state as long as the device is not accessed and cs is in a logic high state. when the cs is in a logic high state, any signal on the sclk and si pins will be ignored and the so pin is tri-state. si the si pin is used for serial instruction data input. si information is latched into the input register on the falling edge of sclk. a logic high state present on si will program a one in the command word on the rising edge of the cs signal. to program a complete word, 24 bi ts of information must be entered into the device. so the so pin is the output from the shift register. the so pin remains tri-stated until the cs pin transitions to a logic low state. all open switches are reported as zero , all closed switches are reported as one . the negative transition of cs enables the so driver. the first positive transition of sclk will make the status data bit 24 available on the so pin. each successive positive clock will make the next status data bit available for the mcu to read on the falling edge of sclk. the si/so shifting of the data follows a first-in-first-out protoc ol, with both input and output words transferring the most significant bit (msb) first. int the int pin is an interrupt output from the 33972 device. the int pin is an open-drain output with an internal pull-up to v dd . in normal mode, a switch st ate change will trigger the int pin (when enabled). the int pin and int bit in the spi register are latched on the falling edge of cs . this permits the mcu to determine the origin of the interrupt. when two 33972 devices are used, only the device initiating the interrupt will have the int bit set. the int pin is cleared on the rising edge of cs . the int pin will not clear with rising edge of cs if a switch contact change has occurred while cs was low. in a multiple 33972 device system with wake high and v dd on (sleep mode), the falling edge of int will place all 33972s in normal mode. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 10 wake the wake pin is an open-drain output and a wake-up input. the pin is designed to control a power supply enable pin. in the normal mode, the wake pin is low. in the sleep mode, the wake pin is high. the wake pin has a pull-up to the internal +5.0 v supply. in sleep mode with the wake pin high, falling edge of wake will place the 33972 in normal mode. in sleep mode with v dd applied, the int pin must be high for negative edge of wake to wake up the device. if v dd is not applied to the device in sleep mode, int does not affect wake operation. v pwr the v pwr pin is battery input and power-on reset to the 33972 ic. the v pwr pin requires external reverse battery and transient protection. maximum input voltage on v pwr is 50 v. all wetting, sustain, and internal logic current is provided from the v pwr pin. v dd the v dd input pin is used to determine logic levels on the microprocessor interface ( spi) pins. current from v dd is used to drive so output and the pull-up current for cs and int pins. v dd must be applied for wake-up from negative edge of cs or int . gnd the gnd pin provides ground for the ic as well as ground for inputs programmed as swit ch-to-battery inputs. sp0?sp7 the 33972 device has 8 switch inputs capable of being programmed to read switch-t o-ground or switch-to-battery contacts. the input is compared with a 4.0 v reference. when programmed to be switch-to-ba ttery, voltages greater than 4.0 v are considered closed. voltages less than 4.0 v are considered open. the opposite holds true when inputs are programmed as switch-to-ground. programming features are defined in table 1 through table 6 in the device operation section of this datasheet beginning on page 12. voltages greater than the v pwr supply voltage will source current through the sp inputs to the v pwr pin. transient battery voltages greater than 40 v must be clamped by an external device. sg0?sg13 the sgn pins are switch-to-grou nd inputs only. the input is compared with a 4.0 v reference. voltages greater than 4.0 v are considered open. voltages less than 4.0 v are considered closed. programming features are defined in table 1 through table 6 in the device operation section of this datasheet beginning on page 12. voltages greater than the v pwr supply voltage will source current through the sg inputs to the v pwr pin. transient battery voltages greater than 40 v must be clamped by an external device. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 11 mcu interface description the 33972 device directly interfaces to a 3.3 v or 5.0 v microcontroller unit (mcu). spi serial clock frequencies up to 6.0 mhz may be used for programming and reading switch input status (production tested at 4.16 mhz). figure 5 illustrates the configuration between an mcu and one 33972. serial peripheral interface (spi) data is sent to the 33972 device through the si input pin. as data is being clocked into the si pin, status information is bei ng clocked out of the device by the so output pin. the response to a spi command will always return the switch status, interr upt flag, and thermal flag. input switch states are latched into t he so register on the falling edge of the chip select ( cs ) pin. twenty-four bits are required to complete a transfer of information between the 33972 and the mcu. figure 5. spi interface with microprocessor two or more 33972 devices may be used in a module system. multiple ics may be spi-c onfigured in parallel or serial. figures 6 and 7 show the configurations. when using the serial configuration, 48-clock cycles are required to transfer data in/ out of the ics. figure 6. spi parallel interface with microprocessor figure 7. spi serial interface with microprocessor 33972 mc68hcxx microcontroller receive buffer parallel ports to logic 24-bit shift register shift register mosi si miso so sclk cs int int parallel ports mc68hcxx microcontroller 33972 33972 si sclk cs int si so sclk cs int int sclk miso mosi shift register so parallel ports mc68hcxx microcontroller 33972 33972 si sclk cs int si so sclk cs int so int sclk miso mosi shift register f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 12 device operation power supply the 33972 is designed to operate from 5.5 v to 40 v on the v pwr pin. characteristics are pr ovided from 8.0 v to 16 v for the device. switch contact currents and the internal logic supply are generated from the v pwr pin. the v dd supply pin is used to set the spi communication voltage levels, current source for the so driver, and pull-up current on int and cs . v dd supply may be removed from the device to reduce quiescent current. if v dd is removed while the device is in normal mode, the device will remain in normal mode. if v dd is removed in sleep mode, the device will remain in sleep mode until wake-up input is received ( wake high to low, switch input or interrupt timer expires). removing v dd from the device disables spi communication and will not allow the device to wake up from int and cs pins. power-on reset (por) applying v pwr to the device will cause a power-on reset and place the device in normal mode. default settings from power-on reset via v pwr or reset command are as follows: ? programmable switch ? set to switch to battery ? all inputs set as wake-up ? wetting current on (16 ma) ? wetting current timer on (20 ms) ? all inputs tri-state ? analog select 00000 (no input channel selected) modes of operation the 33972 has two operating modes, normal mode and sleep mode. a discussion on normal mode begins below. a discussion on sleep mode begins on page 18. normal mode normal mode may be entered by the following events: ? application of v pwr to the ic ? change-of-switch state (when enabled) ? falling edge of wake ? falling edge of int (with v dd = 5.0 v and wake at logic [1]) ? falling edge of cs (with v dd = 5.0 v) ? interrupt timer expires only in normal mode with v dd applied can the registers of the 33972 be programmed through the spi. the registers that may be programmed in normal mode are listed below. further explanation of each register is provided in subsequent paragraphs. ? programmable switch register ( settings command ) ? wake-up/interrupt register ( wake-up/interrupt command ) ? wetting current register ( metallic command ) ? wetting current timer register ( wetting current timer enable command ) ? tri-state register ( tri-state command ) ? analog select register ( analog command ) ? calibration of timers ( calibration command ) ? reset ( reset command ) figure 4 , page 8, is a graphical description of the device operation in normal mode. switch states are latched into the input register on the falling edge of cs . the int to the mcu is cleared on the rising edge of cs . however, int will not clear on rising edge of cs if a switch has closed during spi communication ( cs low). this prevents switch states from being missed by the mcu. programmable switch register inputs sp0 to sp7 may be programmable for switch-to- battery or switch-to-ground. these inputs types are defined using the settings command (refer to table 1 ). to set an spn input for switch-to-battery, a logi c [1] for the appropriate bit must be set. to set an spn input for switch-to-ground, a logic [0] for the appropriate bit must be set. the mcu may change or update the programmable switch re gister via software at any time in normal mode. regardless of the setting, when the spn input switch is closed a logic [1] will be placed in the serial output response register (refer to table 12 , page 17). table 1. settings command settings command not used battery/ground select 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 1 x x x x x x x x sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 13 wake-up/interr upt register the wake-up/interrupt register defines the inputs that are allowed to wake the 33972 from sleep mode or set the int pin low in normal mode. programming the wake-up/interrupt bit to logic [0] will disable the specific input from generating an interrupt and will disable the specific input from waking the ic in sleep mode (refer to table 2 ). programming the wake-up/ interrupt bit to logic [1] will enable the specific input to generate an interrupt with switch change of state and will enable the specific input as wake-up. the mcu may change or update the wake-up/interrupt register via so ftware at any time in normal mode. wetting current register the 33972 has two levels of switch contact current, 16 ma and 2.0 ma (see figure 8 ). the metallic command is used to set the switch contact current level (refer to table 3 ). programming the metallic bit to logic [0] will set the switch wetting current to 2.0 ma. programming the metallic bit to logic [1] will set the switch contact wetting current to 16 ma. the mcu may change or update the wetting current register via software at any time in normal mode. wetting current is designed to pr ovide higher levels of current during switch closure. the higher level of current is designed to keep switch contacts from build ing up oxides that form on the switch contact surface. figure 8. contact wetting and sustain current table 2. wake-up /interrupt command wake-up/interrupt command command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 1 0 x x x x x x x x sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 0 0 0 0 0 0 1 1 x x sg13 sg12 sg11 sg10 sg9 sg8 sg7 sg6 sg5 sg4 sg3 sg2 sg1 sg0 switch contact voltage 16 ma switch wetting current 2.0 ma switch sustain current 20 ms wetting current timer table 3. metallic command metallic command command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 1 0 0 x x x x x x x x sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 0 0 0 0 0 1 0 1 x x sg13 sg12 sg11 sg10 sg9 sg8 sg7 sg6 sg5 sg4 sg3 sg2 sg1 sg0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 14 wetting current timer register each switch input has a designated 20 ms timer. the timer starts when the spec ific switch input cr osses the comparator threshold (4.0 v). when the 20 ms timer expires, the contact current is reduced from 16 ma to 2.0 ma. the wetting current timer may be disabled for a specific input. when the timer is disabled, 16 ma of current will continue to flow through the closed switch contac t. with multiple wetting current timers disabled, power dissipation for the ic must be considered. the mcu may change or update the wetting current timer register via software at any time in normal mode. this allows the mcu to control the amount of time wetting current is applied to the switch contact. programming the wetting current timer bit to logic [0] will disable the wetting current timer. programming the wetting current timer bit to logic [1] will enable the wetting current timer (refer to table 4 ). tri-state register the tri-state command is use to set the spn or sgn input node as high impedance (refer to table 5 ). by setting the tri-state register bit to logic [1], the input will be high impedance regardless of the metallic command setting. the comparator on each input remains active. this command allows the use of each input as a comparator with a 4.0 v threshold. the mcu may change or update the tri-state register via software at any time in normal mode. table 4. wetting curren t timer enable command wetting current timer commands command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 1 1 1 x x x x x x x x sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 0 0 0 0 1 0 0 0 x x sg13 sg12 sg11 sg10 sg9 sg8 sg7 sg6 sg5 sg4 sg3 sg2 sg1 sg0 table 5. tri-state command tri-state commands command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 1 0 0 1 x x x x x x x x sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 0 0 0 0 1 0 1 0 x x sg13 sg12 sg11 sg10 sg9 sg8 sg7 sg6 sg5 sg4 sg3 sg2 sg1 sg0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 15 analog select register the analog voltage on switch inputs may be read by the mcu using the analog command (refer to table 6 ). internal to the ic is a 22-to-1 analog multiplexer. the voltage present on the selected input pin is buffered and made available on the amux output pin. the amux output pin is clamped to a maximum of v dd volts regardless of the higher voltages present on the input pin. after an input has been selected as the analog, the corresponding bit in the next so data stream will be logic [0]. when selecting a channel to be read as analog, the user must also set the desired current (16 ma, 2.0 ma, or high impedance). setting bit 6 and bit 5 to 0,0 selects the input as high impedance. setting bit 6 an d bit 5 to 0,1 selects 2.0 ma, and 1,0 selects 16 ma. setting bit 6 and bit 5 to 1,1 in the analog select register is not al lowed and will place the input as an analog input with high impedance. analog currents set by the analog command are pull-up currents for all sgn and spn inputs (refer to table 6 ). the analog command does not allow pull-down currents on the spn inputs. setting the current to 16 ma or 2.0 ma may be useful for reading sensor inputs. further information is provided in the applications section of this datasheet beginning on page 20. the mcu may change or update the analog select register via software at any time in normal mode. table 6. analog command analog command not used current select analog channel select 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 1 1 0 x x x x x x x x x 16 ma 2.0 ma 0 0 0 0 0 table 7. analog channel bits 43210 analog channel select 00000 no input selected 00001 sg0 00010 sg1 00011 sg2 00100 sg3 00101 sg4 00110 sg5 00111 sg6 01000 sg7 01001 sg8 01010 sg9 01011 sg10 01100 sg11 01101 sg12 01110 sg13 01111 sp0 10000 sp1 10001 sp2 10010 sp3 10011 sp4 10100 sp5 10101 sp6 10110 sp7 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 16 calibration of timers in cases where an accurate time base is required, the user may calibrate the internal timers using the calibration command (refer to table 8 ) . after the 33972 device receives the calibration command, the device expects 512 s logic [0] calibration pulse on the cs pin. the pulse is used to calibrate the internal clock. no other spi pins should transition during this 512 s calibration pulse. becaus e the oscillator frequency changes with temperature, ca libration is required for an accurate time base. calibrating the timers has no affect on the quiescent current measuremen t. the calibration command simply makes the time ba se more accurate. the calibration command may be used to update the device on a periodic basis. reset the reset command resets all registers to power-on reset (por) state. refer to table 10 , page 17, for por states or the paragraph entitled power-on reset (por) on page 12 of this datasheet. table 8. calibration command calibration command command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 1 0 1 1 x x x x x x x x x x x x x x x x table 9. reset command reset command command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1 1 1 1 1 1 1 x x x x x x x x x x x x x x x x f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 17 spi command summary table 10 below provides a comprehensive list of spi commands recognized by the 33972 and the reset state of each register. table 11 and table 12 contain the serial output (so) data for input voltages greater or less than the threshold level. open switches are always indica ted with a logic [0], closed switches are indicated with logic [1]. table 10. spi command summary msb command bits setting bits lsb i 23222120191817161514131211109876543210 switch status command 00000000xx xxxxxxxxxxxxxx settings command bat=1, gnd=0 (default state = 1) 00000001xx xxxxxxsp7sp6sp5sp4sp3sp2sp1sp0 wake-up/interrupt bit wake-up=1 nonwake-up=0 (default state = 1) 00000010xx xxxxxxsp7sp6sp5sp4sp3sp2sp1sp0 00000011xxsg13sg12sg11sg10sg9sg8sg7sg6sg5sg4sg3sg2sg1sg0 metallic command metallic = 1 non-metallic = 0 (default state = 1) 00000100xx xxxxxxsp7sp6sp5sp4sp3sp2sp1sp0 00000101xxsg13sg12sg11sg10sg9sg8sg7sg6sg5sg4sg3sg2sg1sg0 analog command 00000110xx xxxxxxx 16ma 0 2.0ma 0 00000 wetting current timer enable command timer on = 1 timer off = 0 (default state = 1) 00000111xx xxxxxxsp7sp6sp5sp4sp3sp2sp1sp0 00001000xxsg13sg12sg11sg10sg9sg8sg7sg6sg5sg4sg3sg2sg1sg0 tri-state command input tri-state=1 input active = 0 (default state = 1) 00001001xx xxxxxxsp7sp6sp5sp4sp3sp2sp1sp0 00001010xxsg13sg12sg11sg10sg9sg8sg7sg6sg5sg4sg3sg2sg1sg0 calibration command (default state - uncalibrated) 00001011xx xxxxxxxxxxxxxx sleep command (see sleep mode on page 18) 00001100xx xxxxxxxx int timer int timer int timer scan timer scan timer scan timer reset command 01111111xx xxxxxxxxxxxxxx so response will always send them flg int flg sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 sg13 sg12 sg11 sg10 sg9 sg8 sg7 sg6 sg5 sg4 sg3 sg2 sg1 sg0 table 11. serial output (so) bit data type of input input programmed voltage on input pin so spi bit sp switch to ground spn < 4.0 v 1 switch to ground spn > 4.0 v 0 switch to battery spn < 4.0 v 0 switch to battery spn > 4.0 v 1 sg n/a sgn < 4.0 v 1 n/a sgn > 4.0 v 0 table 12. serial output (so) response register so response will always send them flg int flg sp7 sp6 sp5 sp4 sp3 sp2 sp1 sp0 sg13 sg12 sg11 sg10 sg9 sg8 sg7 sg6 sg5 sg4 sg3 sg2 sg1 sg0 f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 18 example of normal mode operation the operation of the device in normal mode is defined by the states of the programmable intern al control registers. a typical application may have the following settings: ? programmable switch ? set to switch-to-ground ? all inputs set as wake-up ? wetting current on (16 ma) ? wetting current timer on (20 ms) ? all inputs tri-state-disabled (comparator is active) ? analog select 00000 (no input channel selected) with the device programmed as above, an interrupt will be generated with each switch cont act change of state (open-to- close or close-to-open) and 16 ma of contact wetting current will be source for 20 ms. the int pin will remain low until switch status is acknowledged by the micr oprocessor. it is critical to understand int will not be cleared on the rising edge of cs if a switch closure occurs while cs is low. the maximum duration a switch state change can ex ist without acknowledgement depends on the software response time to the interrupt. figure 4 , page 8, shows the interaction between changing input states and the int and cs pins. if desired the user may disable interrupts ( wake up/interrupt command ) from the 33972 device and read the switch states on a periodic basis. switch activation and deactivation faster than the mcu read rate will not be acknowledged. the 33972 device will exit the normal mode and enter the sleep mode only with a valid sleep command. sleep mode sleep mode is used to reduce system quiescent currents. sleep mode may be entered only by sending the sleep command. all register settings programmed in normal mode will be maintained in sleep mode. the 33972 will exit sleep mode and enter normal mode when any of the following events occur: ? input switch change of state (when enabled) ? interrupt timer expire ? falling edge of wake ? falling edge of int (with v dd = 5.0 v and wake at logic [1]) ? falling edge of cs (with v dd = 5.0 v) ? power-on reset (por) the v dd supply may be removed from the device during sleep mode. however removing v dd from the device in sleep mode will disable a wake-up from falling edge of int and cs . note in cases where cs is used to wake the device, the first so data message is not valid. the sleep command contains settings for two programmable timers for sleep mode, the interru pt timer and the scan timer, as shown in table 13 the interrupt timer is used as a periodic wake-up timer. when the timer expires, an interrupt is generated and the device enters normal mode. note the interrupt timer in the 33972 device may be disabled by programming the interrupt bits to logic [1 1 1]. table 14 shows the programmable settings of the interrupt timer. table 13. sleep command sleep command command bits 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 1 1 0 0 x x x x x x x x x x int timer int timer int timer scan timer scan timer scan timer table 14. interrupt timer bits 543 interrupt period 000 32 ms 001 64 ms 010 128 ms 011 256 ms 100 512 ms 101 1.024 s 110 2.048 s 111 no interrupt wake-up f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 19 the scan timer sets the polling period between input switch reads in sleep mode. the period is set in the sleep command and may be set to 000 (no period) to 111 (64 ms). in sleep mode when the scan timer expires, inputs will behave as programmed prior to sleep command. the 33972 will wake up for approximately 125 s and read the switch inputs. at the end of the 125 s, the input switch states are compared with the switch state prior to sleep command. when switch state changes are detected, an interrupt (when enabled; refer to wake - up/interrupt command description on page 13) is generated and the device enters normal mode. without switch state changes, the 33972 will reset the scan timer, inputs become tri-state, and the sle ep mode continues until the scan timer expires again. table 15 shows the programmable settings of the scan timer. note the interrupt and scan timers are disabled in the normal mode. figure 3 , page 8, is a graphical description of how the 33972 device exits sleep mode and enters normal mode. notice that the device will exit sleep mode when the interrupt timer expires or when a switch change of state occurs. the falling edge of int triggers the mcu to wake from sleep state. figure 9 illustrates the current consumed during sleep mode. during the 125 s, the device is fully active and switch states are read. the quiescent current is calculated by integrating the normal running current over scan period plus approximately 60 a. figure 9. sleep current waveform temperature monitor with multiple switch inputs closed and the device programmed with the wetting current timers disabled, considerable power will be dissipated by the ic. for this reason temperature monitoring ha s been implemented. the temperature monitor is active in the normal mode only. when the ic temperature is above the thermal limit, the temperature monitor will do all of the following: ? generate an interrupt. ? force all 16 ma pull-up and pull-down current sources to revert to 2.0 ma current sources. ? maintain the 2.0 ma current source and all other functionality. ? set the thermal fl ag bit in the spi output register. the thermal flag bit in the spi word will be cleared on rising edge of cs provided the die temperature has cooled below the thermal limit. when die temperature has cooled below thermal limit, the device will resume previously programmed settings. table 15. scan timer bits 210 scan period 000 no scan 001 1.0 ms 010 2.0 ms 011 4.0 ms 100 8.0 ms 101 16 ms 110 32 ms 111 64 ms inputs active for 125 us out of 32 ms i=v/r or 0.270v/100ohm = 2.7ma i=v/r or 6mv/100ohm = 60 ua inputs active for 125 us out of 32 ms i=v/r or 0.270v/100ohm = 2.7ma i=v/r or 6mv/100ohm = 60 ua inputs active for 125 us out of 32 ms i=v/r or 0.270v/100ohm = 2.7ma i=v/r or 6mv/100ohm = 60 ua i=v/r or 0.270 v/100 ? =2.7 ma inputs active for 125 s out of 32 ms i=v/r or 6.0 mv/100 ? =60 a f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 20 applications introduction the 33972?s primary function is the detection of open or closed switch contacts. however, there are many features that allow the device to be used in a variety of applications. the following is a list of applications to consider for the ic: ? sensor power supply ? switch monitor for metallic or elastomeric switches ? analog sensor inputs (ratiometric) ? power mosfet/led driver and monitor ? multiple 33972 devices in a module system the following paragraphs descri be the applications in detail. sensor power supply each input may be used to supply current to sensors external to a module. many sensors such as hall effect, pressure sensors, and temperature sensor s require a supply voltage to power the sensor and provide an open collector or analog output. figure 10 shows how the 33972 may be used to supply power and interface to these type s of sensors. in an application where the input makes continuous transitions, consider using the wake-up/interrupt command to disable the interrupt for the particular input. figure 10. sensor power supply metallic/elastomeric switch metallic switch contacts often develop higher contact resistance over time owing to contact corrosion. the corrosion is induced by humidity, salt, and other elements that exist in the environment. for this reason t he 33972 provides two settings for contacts. when programmed for metallic switches, the device provides higher wetting cu rrent to keep switch contacts free of oxides. the higher current occurs for the first 20 ms of switch closure. where longer duration of wetting current is desired, the user may send the wetting current timer command and disable the timer. wetting current will be continuous to the closed switch. after the time period set by the mcu, the wetting current timer command may be sent again to enable the timer. the user must consider power dissipation on the device when disabling the timer. (refer to the paragraph entitled temperature monitor , page 19.) to increase the amount of wetting current for a switch contact, the user has two options. higher wetting current to a switch may be achieved by paralle ling sgn or spn inputs. this will increase wetting current by 16 ma for each input added to the switch contact. the second option is to simply add an external resistor pull-up to the v pwr supply for switch-to-ground inputs or a resistor to ground for a switch-to-battery input. adding an external resistor has no effect on the operation of the device. elastomeric switch contacts are made of carbon and have a high contact resistance. resistance of 1.0 k ? is common. in applications with elastomeric switches, the pull-up and pull- down currents must be reduced to prevent excessive power dissipation at the contact. programming for a lower current settings is provided in the device operation section beginning on page 12 under table 3 , metallic command. analog sensor inputs (ratiometric) the 33972 features a 22-to-1 ana log multiplexer. setting the binary code for a specific input in the analog command allows the microcontroller to perform analog to digital conversion on any of the 22 inputs. on rising edge of cs the multiplexer connects a requested input to the amux pin. the amux pin is clamped to max of v dd volts regardless of the higher voltages present on the input pin. after an input has been selected as the analog, the corresponding bit in the next so data stream will be logic [0]. the input pin, when selected as analog, may be configured as analog with high impedance, analog with 2.0 ma pull-up, or analog with 16 ma pull-up. figure 11 , page 21, shows how the 33972 may be used to provide a ratiometric reading of variable resistive input. v dd v pwr v dd si so sclk int cs mosi miso vbat sp0 sp1 sp7 sg1 sg0 sg12 sg13 wake 33972 sclk cs int mcu 16 2.0 v pwr v pwr 16 ma ioc[7:0] x reg input capture timer port hall-effect sensor 2.5 k ? ma 16 2.0 v pwr v pwr ma 2.5 k ? vbat ma ma f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 21 figure 11. analog ratiometric conversion to read a potentiometer sensor, the wiper should be grounded and brought back to the module ground, as illustrated in figure 11 . with the wiper changing the impedance of the sensor, the analog voltage on the input will represent the position of the sensor. using the analog feature to provide 2.0 ma of pull-up current to an analog sensor may induce error due to the accuracy of the current source. for this reason, a ratiometric conversion must be considered. using two current sources (one for the sensor and one to set the reference voltage to the a/d converter) will yield a maximum error (owing to the 33972) of 4%. higher accuracy may be achieved through module level calibration. in this example, we use the resistor values from figure 11 and assume the current sources are 4% from each other. the user may use the module end-of-line tester to calculate the error in the a/d conversion. by placing a 2.0 k ? , 0.1% resistor in the end-of-line test equipment and assuming a perfect 2.0 ma current source fr om the 33972, a calculated a/d conversion may be obtained. us ing the equation yields the following: the adc value of 213 counts is the value with 0% error (neglecting the resistor tole rance and amux input offset voltage). now we can calculate the count value induced by the mismatch in current sources. from a sample device the maximum current source was measured at 2.05 ma and minimum current source was meas ured at 1.99 ma. this yields 3% error in a/d conversion. the a/d measurement will be as follows: this a/d conversion is 3% low in value. the error correction factor of 1.03 may be used to correct the value: an error correction factor may then be stored in e 2 memory and used in the a/d calculation for the specific input. each input used as analog measurement will have a dedicated calibrated error correction factor. power mosfet/led driver and monitor because of the flexible programming of the 33972 device, it may be used to drive small loads like leds or mosfet gates. it was specifically designed to power up in the normal mode with the inputs tri-state. this was done to ensure the leds or mosfets connected to the 33972 power up in the off-state. the switch programmable (sp0?sp7) inputs have a source- and-sink capability, providing ef fective mosfet gate control. to complete the circuit, a pull-down resistor should be used to keep the gate from floating during the sleep modes. figure 12 , page 22, shows an application wher e the sg0 input is used to monitor the drain-to-source volt age of the external mosfet. the 1.5 k ? resistor is used to set the drain-to-source trip voltage. with the 2.0 ma current source enabled, an interrupt will be generated when the drain-to-source voltage is approximately 1.0 v. v dd v pwr v dd si so sclk int cs amux mosi miso an0 vbat sp0 sp1 sp7 sg1 sg0 sg12 sg13 wake vbat sclk cs int 16 2.0 v pwr 2.0 ma 2.0 ma 2.39 k ? 0.1% 4.54 v to 5.02 v analog ports v ref(h) v ref(l) analog sensor or analog switch r 2 i 2 i 1 r 1 v pwr ma 2.0 v pwr v pwr ma 16 ma ma 33972 mcu adc = i1 x r1 i2 x r2 x225 adc = 2.0 ma x 2.0 k ? x 225 2.0 ma x 2.39 k ? adc = 213 counts adc = 1.99 ma x 2.0 k ? x225 2.05 ma x 2.39 k ? adc = 207 counts adc = 207 counts x 1.03 adc = 213 counts - f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 22 figure 12. mosfet or led driver output the sequence of commands (from normal mode with inputs tri-state) required to set up the device to drive a mosfet are as follows: ? wetting current timer enable command ?disable spn wetting current timer (refer to table 4 , page 14). ? metallic command ?set spn to 16 ma or 2.0 ma gate drive current (refer to table 3 , page 13). ? settings command ?set spn as switch-t o-battery (refer to table 1 , page 12). ? tri-state command ?disable tri-state for spn (refer to table 5 , page 14). after the tri-state command has been sent (tri-state disable), the mosfet gate will be pulled to ground. from this point forward the mosfet may be turned on and off by sending the settings command : ? settings command ?spn as switch-to-ground (mosfet on). ? settings command ?spn as switch-t o-battery (mosfet off). monitoring of the mosfet drain in the off state provides open load detection. this is done by using an sgn input comparator. with the sgn input in tri-state, the load will pull up the sgn input to battery. with open load the sgn pin is pulled down to ground through an external resistor. the open load is indicated by a logic [1] in the so data bit. the analog command may be used to monitor the drain voltage in the mosfet on state. by sourcing 2.0 ma of current to the 1.5 k ? resistor, the analog volt age on the sgn pin will be approximately: as the voltage on the drain of the mosfet increases, so does the voltage on the sgn pin. with the sgn pin selected as analog, the mcu may perform the a/d conversion. using this method for controlling unclamped inductive loads is not recommended. inductive flyback voltages greater than v pwr may damage the ic. the sp0?sp7 pins of this device may also be used to send signals from one module to another. operation is similar to the gate control of a mosfet. for led applications a resistor in series with the led is recommended but not required. the switch-to-ground inputs are recommended for led application. to drive the led use the following commands: ? wetting current timer enable command ?disable sgn wetting current timer. ? metallic command ?set sgn to 16 ma. from this point forward the led may be turned on and off using the tri-state command : ? tri-state command ?disable tri-state for sgn (led on). ? tri-state command ?enable tri-state for sgn (led off). these parameters are easily programmed via spi commands in normal mode. multiple 33972 devices in a module system connecting power to the 33972 and the mcu for sleep mode operation may be done in several ways. table 16 shows several system configurations for power between the mcu and the 33972 and their specific re quirements for functionality. sp0 sg0 sg13 16 2.0 4.0 v ref + - comparator to spi v pwr sg0 1.5 k ? load vbat amux 100 k ? ma v pwr + - comparator to spi 4.0 v ref 2.0 2.0 ma 16 ma 16 ma v pwr v pwr sg0 16 2.0 v pwr ma v pwr + comparator to spi 4.0 v ref sg13 - ma ma ma table 16. sleep mode power supply mcu v dd 33972 v dd comments 5.0 v 5.0 v all wake-up conditions apply. (refer to sleep mode , page 18.) 5.0 v 0v spi wake-up is not possible. 0v 5.0 v sleep mode not possible. current from cs pull up will flow through mcu to v dd that has been switched off. negative edge of cs will put 33972 in normal mode. 0v 0v spi wake-up is not possible. v sgn = i sgn x 1.5 k ? + v ds f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 23 multiple 33972 devices may be used in a module system. spi control may be done in parallel or serial. however when parallel mode is used, each device is addressed independently (refer to mcu interface description , page 11). therefore when sending the sleep command , one device will enter sleep before the other. for multiple devices in a system, it is recommended that the devices are controlled in serial (s0 from first device is connected to si of second device). with two devices, 48 clock pulses are required to shift data in. when the wake feature is used to enable the power supply, both wake pins should be connected to the enable pin on the power supply. the int pins may be connected to one interrupt pin on the mcu or may have their own dedicated interrupt to the mcu. the transition from normal to sleep mode is done by sending the sleep command . with the devices connected in serial and the sleep command sent, both will enter sleep mode on the rising edge of cs . when sleep mode is entered, the wake pin will be logic [1]. if either device wakes up, the wake pin will transition low, waking the other device. a condition exists where the mcu is sending the sleep command ( cs logic [0]) and a switch input changes state. with this event the device that detect s this input will not transition to sleep mode, while the second device will enter sleep mode. in this case two switch status commands must be sent to receive accurate switch status data. the first switch status command will wake the device in sleep mode. switch status data may not be valid from the first switch status command because of the time required for the input voltage to rise above the 4.0 v input comparator threshold. this time is dependant on the impedance of sgn or spn node. the second switch status command will provide accurate switch status information. it is recommended that software wait 10 ms to 20 ms between the two switch status commands, allowing time for switch input voltages to stabilize. with all switch states acknowledged by the mcu, the sleep sequence may be initiated. all parameters for sleep mode should be updated prior to sending the sleep command . the 33972 ic has an internal 5.0 v supply from v pwr pin. a por circuit monitors the internal 5.0 v supply. in the event of transients on the v pwr pin, an internal reset may occur. upon reset the 33972 will enter normal mode with the internal registers as defined in table 10 , page 17. therefore it is recommended that the mcu peri odically update all registers internal to the ic. using the wake feature the 33972 provides a wake output and wake-up input designed to control an enable pin on system power supply. while in the normal mode, the wake output is low, enabling the power supply. in the sleep mode, the wake pin is high, disabling the power supply. the wake pin has a passive pull- up to the internal 5.0 v supply but may be pulled up through a resistor to v pwr supply (see figure 14, page 24) when the wake output is not used the pin should be pulled up to the v dd supply through a resistor as shown in figure 13, page 24. during the sleep mode, a switch closure will set the wake pin low, causing the 33972 to enter the normal mode. the power supply will then be activated, supplying power to the v dd pin and the microprocessor and the 33972. the microprocessor can determine the source of the wake-up by reading the interrupt flag. cost and flexibility systems requiring a significant number of switch interfaces have many discrete components. discrete components on standard pwb consume board space and must be checked for solder joint integrity. an int egrated approach reduces solder joints, consumes less board spac e, and offers wider operating voltage, analog interface capab ility, and greater interfacing flexibility. f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 24 figure 13. power supply active in sleep mode figure 14. power supply shutdown in sleep mode v dd mc68hcxx microprocessor 33972 vbat power mosi miso an0 wake si so sclk int cs amux vbat vbat sp0 sp1 sp7 sg1 sg0 sg12 sg13 supply v dd sclk int cs v pwr v pwr v pwr v dd v dd mc68hcxx microprocessor 33972 vbat power mosi miso an0 wake si so sclk int cs amux vbat vbat sp0 sp1 sp7 sg1 sg0 sg12 sg13 supply v dd sclk int cs enable v pwr v pwr v pwr v dd v dd v dd f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 25 package dimensions notes: 1. all dimensions are in millimeters. 2. dimensioning and to lerancing per asme y14.5m, 1994. 3. datums b and c to be determined at the plane where the bottom of the leads exit the plastic body. 4. this dimension does no t include mold flash, protrusion or gate burrs. mold flash, protrusion or gate burrs shall not exceed 0.15 mm per side. this dimension is determined at the plane where the bottom of the leads exit the plastic body. 5. this dimension does not include interlead flash or protrusions. interlead flash and protrusions shall not exceed 0.25 mm per side. this dimension is determined at the plane where the bottom of the leads exit the plastic body. 6. this dimension does not include dambar protrusion. allowable dambar protrusion shall not cause the lead width to exceed 0.4 mm per side. dambar cannot be located on the lower radius or the foot. minimum space between protrusion and adjacent lead shall not less than 0.07 mm. 7. exact shape of each corner is optional. 8. these dimensions apply to the flat section of the lead between 0.10 mm and 0.3 mm from the lead tip. 9. the package top may be smaller than the package bottom. this dimension is determined at the outermost extremes of the plastic body exclusive of mold flash, tie bar burrs, gate burrs and inter-lead flash, but including any mismatch between the top and bottom of the plastic body. c l 10.9 7.4 1 16 17 32 0.10 a 2.35 seating plane 0.9 section b-b 0.65 r0.08 min b a pin 1 id (0.29) 0.38 0.25 (0.203) plating base metal section a-a rotated 90 clockwise 8 0.19 0.22 9 5 0.13 m ca m b 6 a c 7.6 11.1 9 4 10.3 5.15 a 32x 30x 2.65 0.3 a 2x 16 tips b c bb 0.29 0.13 0.5 0 8 0 0.25 gauge plane min dwb suffix 32-lead soic wide body plastic package case 1324-02 issue a f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
33972/d motorola analog integrated circuit device data 26 notes f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
motorola analog integrated circuit device data 33972/d 27 notes f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .
information in this document is provided solely to enable system and software implem enters to use motorola products. there are no express or implied copyright licenses granted hereunder to desig n or fabricate any integrated circuits or integrated circuits based on the informa tion in this document. motorola reserves the right to make changes without further noti ce to any products herein. motorola makes no warranty, represen tation or guarantee regarding the suitability of its products for any particular purpose, nor does motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. ?typical? parameters which may be provided in motorola data sheets and/or s pecifications can and do vary in different applications and actual performance may var y over time. all operating parameters, including ?typicals? must be validated for each customer application by customer?s technical experts. motorola does not convey any license under its patent rights nor the rights of others. motorola pro ducts are not designed, intended, or authorized for use as compon ents in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in whic h the failure of the motorola product could create a situation where personal injury or death may occur. should buyer purchase or use motorola products for any such unintended or unauthorized application, buyer shall indemnify and hold motorola and its officers, employees, subsidiaries, affiliates, and di stributors harmless against all claims, costs, damages, and expenses , and reasonable attorney fees arising out of, directly or indirectly, any claim of persona l injury or death associated with such unintended or unauthorized use, even if such claim a lleges that motorola was negligent regarding the design or manufa cture of the part. motorola and the stylized m logo are registered in the us patent and trademark office. all other product or service names are t he property of their respective owners. ? motorola, inc. 2003 how to reach us: usa/europe/locations not listed: japan: motorola japan ltd.; sps, technical information center motorola literature distribution 3-20-1 minami-azabu. minato-ku, tokyo 106-8573, japan p.o. box 5405, denver, colorado 80217 81-3-3440-3569 1-800-521-6274 or 480-768-2130 asia/pacific: motorola semiconductors h. k. ltd.; silicon harbour centre 2 dai king street, tai po industrial estate, tai po, n.t., hong kong 852-26668334 home page: http://motorola.com/semiconductors MC33972/d f r e e s c a l e s e m i c o n d u c t o r , i freescale semiconductor, inc. f o r m o r e i n f o r m a t i o n o n t h i s p r o d u c t , g o t o : w w w . f r e e s c a l e . c o m n c . . .


▲Up To Search▲   

 
Price & Availability of MC33972

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X